package com.wang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class WelcomeController {
    @ResponseBody
    @GetMapping(value = "/show", produces = "application/json;charset=UTF-8")
    public String showMsg() {
        return "听java1412讲解URL路径访问规则...";
    }
}